-
Notifications
You must be signed in to change notification settings - Fork 760
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker example updates #4050
base: master
Are you sure you want to change the base?
Docker example updates #4050
Conversation
@@ -7,6 +7,9 @@ The Sample describes several demos of quickly spinning up different Prebid Serve | |||
In the Sample, we use `docker` and `docker-compose` to instantiate examples; with docker providing a unified setup and interface, you can spin up a demo server instance locally with only one command without knowing all the complexities. | |||
The docker image used in `docker-compose.yml` is the `Dockerfile` residing in the root level of the repository. | |||
|
|||
> [!NOTE] | |||
> Depending on what version of Docker is installed on your system, `docker-compose` might be considered deprecated. If you receive an error when trying to run `docker-compose`, use `docker compose` (without the dash) instead. | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point!
Do you think it will give more context if we modify it to this:
Depending on what version of Docker is installed on your system, `docker-compose` might be considered deprecated.
Run `docker-compose` for docker compose version 1.X.
Run `docker compose` (without the dash) for docker compose versions 2.X and 3.X.
For more details please refer to the [History and development of Docker compose](https://docs.docker.com/compose/intro/history/).
I'm open to approve it as is. This is a minor suggestion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like your suggested improvement @VeronikaSolovei9. @jefftmahoney thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also like @VeronikaSolovei9 's suggestion - let's go with that!
Overview
Docker Invocation
Adding a note to the README file for the "sample" directory to alert readers that it might, depending upon their system setup, be necessary to invoke
docker compose
rather thandocker-compose
when running the examples.